import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {ManageRoutingModule} from './manage-routing.module';
import {ImageCategoryComponent} from './image-category/image-category.component';
import {DemoNgZorroAntdModule} from '../../../NG-ZORRO/ng-zorro-antd.module';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {ImageManageComponent} from './image-manage/image-manage.component';
import {NzIconModule} from 'ng-zorro-antd/icon';
import {IconDefinition} from '@ant-design/icons-angular';
import {AlertFill} from '@ant-design/icons-angular/icons';
import {DecalCategoryComponent} from './decal-category/decal-category.component';
import {DecalManageComponent} from './decal-manage/decal-manage.component';
import {OrderManageComponent} from './order-manage/order-manage.component';
import {OrderDetailComponent} from './order-manage/order-detail/order-detail.component';
import {OrderStatus, PayStatus, PayType, GiftFlagPipe} from './manage.pipe';

const icons: IconDefinition[] = [AlertFill];


@NgModule({
  declarations: [
    ImageCategoryComponent,
    ImageManageComponent,
    DecalCategoryComponent,
    DecalManageComponent,
    OrderManageComponent,
    OrderDetailComponent,
    OrderStatus,
    PayType,
    GiftFlagPipe,
    PayStatus,
  ],
  imports: [
    ManageRoutingModule,
    CommonModule,
    DemoNgZorroAntdModule,
    FormsModule,
    ReactiveFormsModule,
    NzIconModule.forRoot(icons),
  ]
})
export class ManageModule {
}
